QuickDraw 3D provides routines that you can use to manage the anti-alias style.
You can use the Q3AntiAliasStyle_New function to create a TQ3StyleObject object. When the object is rendered, it sets the renderer's anti-aliasing style.
TQ3StyleObject Q3AntiAliasStyle_New (
TQ3AntiAliasStyleData *aaStyleData);
You can use the Q3AntiAliasStyle_Submit function to set the current anti-aliasing mode state in the view.
TQ3Status Q3AntiAliasStyle_Submit (
const TQ3AntiAliasStyleData *aaStyleData,
TQ3ViewObject view);
The Q3AntiAliasStyle_Submit function sets the current anti-aliasing mode state determined by aaStyleData in the view designated by view.
You can call the Q3AntiAliasStyle_Submit function while rendering a frame, between the Q3View_StartRendering and Q3View_EndRendering calls. However, many renderers cannot change the state of anti-aliasing while rendering a frame, so only the first call to Q3AntiAliasStyle_Submit may have an effect.
You can use the Q3AntiAliasStyle_GetData function to fetch the TQ3AntiAliasStyleData structure currently associated with an anti-alias style object.
TQ3Status Q3AntiAliasStyle_GetData (
TQ3StyleObject styleObject,
TQ3AntiAliasStyleData *aaStyleData);
You can use the Q3AntiAliasStyle_SetData function to determine the TQ3AntiAliasStyleData structure currently associated with an anti-alias style object.
TQ3Status Q3AntiAliasStyle_SetData (
TQ3StyleObject styleObject,
const TQ3AntiAliasStyleData *aaStyleData);